//
//  HomeCollectionViewLayout.h
//  ZZmetro
//
//  Created by 一介布衣 on 2020/6/21.
//  Copyright © 2020 一介布衣. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@protocol HomeCollectionViewLayoutDelegate <NSObject>

@optional;

-(CGFloat)heightOfSectionHeaderForIndexPath:(NSIndexPath *)indexPath;

-(CGFloat)heightOfSectionFooterForIndexPath:(NSIndexPath *)indexPath;

@end

@interface HomeCollectionViewLayout : UICollectionViewFlowLayout

@property (nonatomic, assign) id<HomeCollectionViewLayoutDelegate> delegate;

@end

NS_ASSUME_NONNULL_END
